Finding b/a,√3acos(x) + 2bsin(x) = c

Finding b/a,√3acos(x) + 2bsin(x) = c

Yup, it's another Saturday morning. I woke up knowing it was a free day. But Aah, when I picked up my phone to check the time, I saw a WhatsApp message asking for help in solving this:

Let a, b, and c be non-zero real numbers. The two distinct real solutions of the equation

3acosx+2bsinx=c\sqrt{3}a\cos x + 2b\sin x = c

are α\alpha and β\beta such that α+β=π3\alpha + \beta = \frac{\pi}{3}. Find the value of ba\frac{b}{a}. Here π2xπ2-\frac{\pi}{2} \leq x \leq \frac{\pi}{2}.

Alright, let's start solving.

We start with

3acosx+2bsinx=c\sqrt{3}a\cos x + 2b\sin x = c

Since we need ba\frac{b}{a}, we can simply divide the entire equation by a, so we can get a head start.

3cosx+2basinx=ca\sqrt{3}\cos x + \frac{2b}{a} \sin x = \frac{c}{a}

And yes why not divide the whole equation by 2 as well?, Then we clearly have ba\frac{b}{a} in the equation.

Let's do it quickly:

32cosx+basinx=c2a\frac{\sqrt{3}}{2}\cos x + \frac{b}{a} \sin x = \frac{c}{2a}

Now comes the fun part! Since there are two distinct solutions given, namely α\alpha and β\beta we can get two equations. Notice that if we subtract those two equations we can get ride of the R.H.S since it won't change.

Let's do that.

First substituting x=αx = \alpha :

32cosα+basinα=c2a    (1)\frac{\sqrt{3}}{2}\cos \alpha + \frac{b}{a} \sin \alpha = \frac{c}{2a} \;\; \longrightarrow (1)

Next substituting x=βx = \beta :

32cosβ+basinβ=c2a    (2)\frac{\sqrt{3}}{2}\cos \beta + \frac{b}{a} \sin \beta = \frac{c}{2a} \;\; \longrightarrow (2)

Now as we discussed earlier we just subtract, I'll do (1)(2)(1) - (2) So R.H.S = 0 I will group this at once since it's easier and it's useless to write the entire subtraction.

32(cosαcosβ)+ba(sinαsinβ)=0\frac{\sqrt{3}}{2} (\cos \alpha - \cos \beta) + \frac{b}{a} (\sin \alpha - \sin \beta) = 0

Now, by using some basic trigonometric identities, we can simple transform these two expressions into a form that allows us to use the value of α+β\alpha + \beta

32{(2)sin(α+β2)sin(αβ2)}+ba{2cos(α+β2)sin(αβ2)}=0\frac{\sqrt{3}}{2}\left\{(-2)\sin\left(\frac{\alpha + \beta}{2}\right)\sin\left(\frac{\alpha - \beta}{2} \right)\right\} + \frac{b}{a}\left\{2\cos\left(\frac{\alpha + \beta}{2}\right)\sin\left(\frac{\alpha - \beta}{2}\right)\right\} = 0

Alright, that's a bit long, but wait, did you see it yet? They all going to cancel out but first, let's substitute the value for α+β\alpha + \beta .

Given α+β=π3\alpha +\beta = \frac{\pi}{3}

α+β2=π6\Rightarrow \frac{\alpha+\beta}{2} = \frac{\pi}{6}

sinα+β2=12\sin \frac{\alpha + \beta}{2} = \frac{1}{2} and cosα+β2=32\cos \frac{\alpha + \beta}{2} = \frac{\sqrt{3}}{2}

32{(2)12sin(αβ2)}+ba{232sin(αβ2)}=0\frac{\sqrt{3}}{2}\left\{(-2)\frac{1}{2}\sin\left(\frac{\alpha - \beta}{2} \right)\right\} + \frac{b}{a} \left\{2\frac{\sqrt{3}}{2}\sin\left(\frac{\alpha - \beta}{2}\right)\right\} = 0

Now start cancelling out, the 3\sqrt{3} 's will cancel out, sin(αβ2)\sin\left(\frac{\alpha - \beta}{2}\right) will also cancel out.

Now we are left with a simple equation like this:

12+ba=0\frac{-1}{2} + \frac{b}{a} = 0

Yup done.

ba=12\frac{b}{a} = \frac{1}{2}

Whoever reads good luck!